package com.zhuangjie.openfeign.aop.retry.annotation;

import com.zhuangjie.openfeign.aop.retry.FeignRetryAspect;
import com.zhuangjie.openfeign.aop.retry.pool.RetryableThreadPoolConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import({RetryableThreadPoolConfig.class, FeignRetryAspect.class})
public @interface EnableFeignRetry {
}
